Skip to content

refactor(wallet-sdk): remove default synchronizer auto-selection#1740

Draft
jarekr-da wants to merge 7 commits into
wiktor/multisync-examplefrom
jarekr/sdk_synchronizers
Draft

refactor(wallet-sdk): remove default synchronizer auto-selection#1740
jarekr-da wants to merge 7 commits into
wiktor/multisync-examplefrom
jarekr/sdk_synchronizers

Conversation

@jarekr-da

@jarekr-da jarekr-da commented May 13, 2026

Copy link
Copy Markdown
Contributor
  1. No automatic selection of synchonizer in wallet sdk code - if synchronizer is not explicitly provided by caller - we rely on canon ledger choice of synchronizer. There is no extra logic of choosing synchonizer in wallet sdk
  2. tests code changed to explicitly set synchronizer

@jarekr-da jarekr-da changed the title All tests use multi-sync Removed default synchronizer Id May 18, 2026
@jarekr-da jarekr-da changed the title Removed default synchronizer Id Removed default synchronizer May 18, 2026
@jarekr-da jarekr-da force-pushed the jarekr/sdk_synchronizers branch from 97545e9 to 3ae7ca0 Compare May 20, 2026 13:51
@jarekr-da jarekr-da force-pushed the wiktor/multisync-example branch from 563df2d to 98dfc85 Compare May 20, 2026 17:18
@jarekr-da jarekr-da force-pushed the jarekr/sdk_synchronizers branch from 3ae7ca0 to a84acce Compare June 8, 2026 10:45
@jarekr-da jarekr-da self-assigned this Jun 9, 2026
@jarekr-da jarekr-da force-pushed the jarekr/sdk_synchronizers branch from a84acce to fa21b86 Compare June 9, 2026 13:12
@jarekr-da jarekr-da changed the title Removed default synchronizer refactor(wallet-sdk): remove default synchronizer auto-selection Jun 9, 2026
@jarekr-da jarekr-da force-pushed the jarekr/sdk_synchronizers branch from 03037fb to f95afe5 Compare June 9, 2026 18:11
…vide synchronizerId

Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
…examples and snippets

Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
… for multi-sync

Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
…Id to DAR uploads in upload-dars

Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
…Id to DAR uploads and external party creation

The wallet SDK no longer auto-selects a synchronizer. DAR upload and external party creation now require an explicit synchronizerId, which fails on multi-sync participants otherwise. Resolve the global synchronizer via getGlobalSynchronizerId and pass it to dar.upload and party.external.create across the affected example scripts.

Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
…arty creation in scripts 08, 09, 12 and stress 01

Signed-off-by: jarekr-da <jaroslaw.ratajski@digitalasset.com>
@jarekr-da jarekr-da force-pushed the jarekr/sdk_synchronizers branch from 7c58d39 to 452af4a Compare June 10, 2026 10:28
@jarekr-da

Copy link
Copy Markdown
Contributor Author

Check - where syncId is really needed by canton.

Signed-off-by: vkalashnykov <viktor.kalashnykov@digitalasset.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants